
#include <algorithm>
#include <iterator>
#include <string>
#include <type_traits>
#include <vector>

class Solution {
 public:
  int search(std::vector<int>& nums, int target)
  {
    
    if (iter == nums.end()) { return -1; }
    return std::distance(nums.begin(), iter);
  }
};
